package edu.zut.cs.software.example.square.domain;

import javax.persistence.Column;


import javax.persistence.Entity;
import javax.persistence.Table;


//import javax.persistence.Id;//@id注解的导入


import edu.zut.cs.software.example.domain.BaseEntity;

/**
 * 
 * 
 * @author zhangjiahau 
 *
 */

@Entity
@Table(name = "T_SQUARE")
public class Square extends BaseEntity<Long> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * name for square
	 * 
	 * 
	 */
 
	@Column
	private String title;

	
	@Column
	private String name;

	@Column
	private String content;//neirong
	
	@Column
	private String interest;//xingqu 

	@Column
	private String time;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getInterest() {
		return interest;
	}

	public void setInterest(String interest) {
		this.interest = interest;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Square [title=" + title + ", name=" + name + ", content=" + content + ", interest=" + interest
				+ ", time=" + time + "]";
	}


	

	


	


	


		
	}

